package com.mjh.zhujianju.dao.party;

import com.google.common.collect.Lists;
import com.livew.framework.base.dao.BaseMapper;
import com.mjh.zhujianju.model.party.BuildingExamUserEO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BuildingExamUserMapper extends BaseMapper<BuildingExamUserEO> {

    /**
     * 批量添加
     * @param list
     */
    void insertByBatch(List<BuildingExamUserEO> list);

    /**
     * 根据考试结果查询答题记录
     * @param examId
     * @return
     */
    List<BuildingExamUserEO> queryBuildingExamUserByExamId(Long examId);

}